package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.NkRsHtspjlVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface NkRsHtspjlFlowMapper {
    Page<NkRsHtspjlVo> flowJobPage(Page<NkRsHtspjlVo> page,
                                 @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                 @Param("user") CurrentUserVo user,
                                 @Param("spcyFlowVo") NkRsHtspjlVo nkRsHtspjlVo);

    Page<NkRsHtspjlVo> flowJkPage(Page<NkRsHtspjlVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") NkRsHtspjlVo nkRsHtspjlVo);

    List<NkRsHtspjlVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") NkRsHtspjlVo nkRsCcSpVo);


    Page<NkRsHtspjlVo> selectmyyb(Page<NkRsHtspjlVo> page, @Param("spcyFlowVo") NkRsHtspjlVo nkRsHtspjlVo);

    Page<NkRsHtspjlVo> myYbFlowPage(Page<NkRsHtspjlVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") NkRsHtspjlVo nkRsHtspjlVo);



}
